﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace CallbackService
{
    public interface IMyContractCallback
    {
        [OperationContract]
        void OnCallback();
    }

    [ServiceContract(CallbackContract=typeof(IMyContractCallback))]
    public interface IMyContract
    {
        [OperationContract]
        void MyMethod();
    }
}
